package com.xubeizhi.service;

import com.xubeizhi.common.PageBean;
import com.xubeizhi.common.Result;
import com.xubeizhi.entity.Debt;

import java.time.LocalDateTime;

public interface DebtService {
    Result CreateDept(Debt debt);

    Result deleteDept(Debt debt);

    Result updateByIdDept(Debt debt);

    Result<PageBean<Debt>> listDebt(Integer pageNum, Integer pageSize, String name, String status, String removeStatus);

    Result<PageBean<Debt>> list(Integer pageNum, Integer pageSize, Integer id, String status);

    Result<PageBean<Debt>> searchDebt(String name, String startDate, String endDate);

}
